{{- if (include "helm_lib_module_https_ingress_tls_enabled" .) }}
apiVersion: deckhouse.io/v1
kind: DexClient
metadata:
  name: argocd
  namespace: d8-{{ .Chart.Name }}
  {{- include "helm_lib_module_labels" (list . (dict "app" "argocd-server")) | nindent 2 }}
spec:
  redirectURIs:
    - https://{{ include "helm_lib_module_public_domain" (list . "argocd") }}/auth/callback
{{- end }}
